package com.woniuxy.dudugua.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class OrderInfo implements Serializable {
    private Integer id;

    /**
    * 订单表id
    */
    private Integer orderId;

    /**
    * 商品属性id
    */
    private Integer productSkuId;

    /**
    * 购买数量
    */
    private Integer number;

    /**
    * 商品名称
    */
    private String productName;

    /**
    * 运费
    */
    private Double freight;

    /**
    * 总价
    */
    private Double money;

    /**
    * 快递单号
    */
    private String courierNumber;

    /**
    * 商品单价
    */
    private Double price;
    /**
     * 订单生成时间
     */
    private String orderTime;

    /**
     * 商品图片url
     */
    private String productUrl;

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    /**
     * 添加一个productsku属性
     */
    private ProductSku productSku;

    public ProductSku getProductSku() {
        return productSku;
    }

    public void setProductSku(ProductSku productSku) {
        this.productSku = productSku;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getProductSkuId() {
        return productSkuId;
    }

    public void setProductSkuId(Integer productSkuId) {
        this.productSkuId = productSkuId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Double getFreight() {
        return freight;
    }

    public void setFreight(Double freight) {
        this.freight = freight;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getCourierNumber() {
        return courierNumber;
    }

    public void setCourierNumber(String courierNumber) {
        this.courierNumber = courierNumber;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}